import localStorage  from 'local-storage'

const tokenName = 'token'
export const getToken = () => {
   return localStorage.get(tokenName);
}
export const setToken = (token)=>{
    localStorage.set(tokenName,token);
}
export const removeToken = ()=>{
    localStorage.remove(tokenName);
} 
export const clear = ()=>{
    localStorage.clear();
}
